IS445 HW10

Thu Nov 12 2020

Introduction

For this homework, I use the building inventory dataset from Week 2′s materials. This dataset includes information about public buildings in Illinois.

I am going to make two plots, one with Idyll’s built-in chart, and one with VegaLite.

Built-in Chart

In this section, I try to plot the relationship between Year Constructed and Year Acquired. A built-in scatter plot is used here to better present each building with a specific dot.

1,7501,8001,8501,9001,9502,0001,7501,8001,8501,9001,9502,000

From the plot above, we can see that most buildings were constructed and acquired in the same year, although there are several exceptions.

Plot using VegaLite

For the second try, I would like to find out the status of buildings in each congressional district. The variables used here are Congress Dist and Bldg Status. A bar mark is used for the visualization as we don’t need a variable for the y-axis; a bar chart is enough for showing the numbers of buildings in the congressional districts.

From the bar chart above, it is clear that most public buildings are still in use. We can also find out that the number of public buildings differs much in different congressional districts.